# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=certbot-apache
pkgver=1.29.0
pkgrel=0
pkgdesc="Apache plugin for Certbot client"
url="https://pypi.org/project/certbot-apache/"
arch="noarch"
license="Apache-2.0"
depends="certbot py3-acme py3-mock py3-augeas
	py3-setuptools py3-pip py3-zope-component py3-zope-interface"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/c/certbot-apache/certbot-apache-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
6ed5b1315eebb7f5a61ea1ca16d599b1cfc443b4b6a7713c52a860e955a3d5f13b0c12b8fdba2c4752845b6cd9d7dfa10cd124f10f11b08289a381a4005b3d6a  certbot-apache-1.29.0.tar.gz
"
